package com.bamboo.model.domain;

import com.baomidou.mybatisplus.annotation.*;

/**
* @description 
* @date 2025/3/7 10:08
* @author chenzh
*/
@TableName(value = "demo", keepGlobalPrefix = true)
public class DemoEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String msg;
    @TableField(fill = FieldFill.INSERT)
    private Long createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "DemoEntity{" +
                "id=" + id +
                ", msg='" + msg + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
